package com.hotelvip.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
/**
 * 通过此对象封装用户与菜单的关系信息
 * @author Lzh
 * @date 2020/11/30 14:46
 */

@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户菜单vo对象",description = "用户菜单vo对象SysMenu")
public class SysUserMenu {
	@ApiModelProperty(value = "菜单id",name = "id")
	private Integer id;
	@ApiModelProperty(value = "菜单名称",name = "name")
	private String name;
	@ApiModelProperty(value = "菜单地址",name = "url")
	private String url;
	@ApiModelProperty(value = "子菜单",name = "childs")
	private List<SysUserMenu> childs;
}

